package cn.tx.dao;

import cn.tx.model.Clazz;
import cn.tx.model.Grade;
import cn.tx.model.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {

    public int addOrder(Order order);
    public List<Order> findAll();
    public int updateOrderById(Order order);
    public int delete(String ids);
    public  List<Order> findList(Map<String, Object> querymap);
    public int findTotal(Map<String,Object> querymap);
    public Order findByUserName(String username);
}